package com.sinog.front.feign.biz.api.xml;

import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.Map;

/**
 * @desc 前置机上传zip包监听接口feign
 * @author - lzq
 * @date -
 */
@FeignClient("sinog2c-biz")
public interface XmlMinitoringService {

    /**
     * 前置机上传zip包监听接口feign
     * @param zipName zip包名称
     * @return Result
     */
    @PostMapping("/transmission/api/azbj/xml/monitoring")
    Result monitoring(@RequestParam String zipName);

    /**
     * 0702B、0702HZ流程
     * @param hzParams map
     * @return Result
     */
    @PostMapping("/transmission/api/azbj/xml/processOut")
    Result processOut(@RequestParam Map<String, String> hzParams);
}